var express = require('express');
var router = express.Router();
// 引入封装的获取验证码的方法
var user =require('../controllers/userContriller')
/* GET users listing. */
router.post('/sendCode', user.sendCode);
router.post('/codePhoneLogin', user.codePhoneLogin);
// 新用户注册
router.post('/codePhoneLogin', user.codePhoneLogin);
module.exports = router;
